<%include file="include/head.html"%>
<div class="wrapper">
  <div id="div-home" class="main-info-box">
    <%include file="include/crumbs.html"%> 
    <%include file="include/edit_nav.html"%>
    <div class="div-info-body">
      <div class="right">
	<a href="/users/add_photo?userid=<%$user.id%>">添加照片</a>
      </div>

      <form action="/users/edit_photo" method="post" >
	<input type="hidden" name="photoid" value="<%$photo.id%>"/><br/>
        <dl>
            <dt>人物：</dt>
            <dd><%$photo.user_id%></dd>
            <dt>照片：</dt>
            <dd>
              <img class="photo_preview" src="<%$photo.photo%>"/>
	    </dd>
            <dt>照片描述：</dt>
            <dd><textarea name="memo" maxlength="64"><%$photo.memo%></textarea></dd>
            <dt>&nbsp;</dt>
            <dd><input type="submit" class="ym-button" onclick="start_upload_monitor()" value="提交"/>
	      <a onclick="history.back(1);">取消</a>
	    </dd>
        </dl>
      </form>
      
    </div>
    <div class="clear"></div>
  </div>
</div>
<%include file="include/bottom.html"%>
